package com.dynamo.transport.network.practise.channel;

/**
 * @author duanyimiao
 * @create 2018-11-17 10:00 PM
 * @description 解码handler 将二进制参数数据转换成业务所需要的对象
 **/
public class DecoderHandler implements ChannelUpstreamHandler{
    @Override
    public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) {
        System.out.println("DecoderHandler decode");
        ctx.sendUpstream(e);
    }
}
